package com.miaoquan.mqmbg.mapper;

import com.miaoquan.mqmbg.model.TbkProduct;
import com.miaoquan.mqmbg.model.TbkProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbkProductMapper {
    long countByExample(TbkProductExample example);

    int deleteByExample(TbkProductExample example);

    int deleteByPrimaryKey(Long itemId);

    int insert(TbkProduct record);

    int insertSelective(TbkProduct record);

    List<TbkProduct> selectByExample(TbkProductExample example);

    TbkProduct selectByPrimaryKey(Long itemId);

    int updateByExampleSelective(@Param("record") TbkProduct record, @Param("example") TbkProductExample example);

    int updateByExample(@Param("record") TbkProduct record, @Param("example") TbkProductExample example);

    int updateByPrimaryKeySelective(TbkProduct record);

    int updateByPrimaryKey(TbkProduct record);
}